package com.jg.visitor.service;

import com.jg.visitor.common.bean.PageDTO;
import com.jg.visitor.controller.dto.BlacklistDTO;
import com.jg.visitor.controller.vo.BlackListQueryVO;
import com.jg.visitor.domain.Blacklist;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 小狐狸
针对表【blacklist】的数据库操作Service
2022-05-28 21:46:48
*/
public interface BlacklistService extends IService<Blacklist> {

    /**
     * 管理员查询黑名单
     */
    PageDTO<BlacklistDTO> adminSelectBlacklistByCondition(BlackListQueryVO queryVO);

    /**
     * 根据访客id把访客加入黑名单
     */
    boolean addVisitorToBlacklist(Long visitorId,Integer operationType);
}
